<UserControl x:Class="Microsoft.Robotics.Vision.Visualization.ColorCameraView" 
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:v="clr-namespace:Microsoft.Robotics.Visualization;assembly=Microsoft.Robotics.Visualization" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid RenderTransformOrigin="0.5,0.5" x:Name="grid">
        <Grid.RenderTransform>
            <ScaleTransform ScaleX="1" ScaleY="1"/>
        </Grid.RenderTransform>
        <v:VideoStreamControl x:Name="image" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,0" Frame="{Binding Path=VideoFrame}" MouseLeftButtonUp="OnMouseUp" />
    </Grid>
</UserControl>
